package com.spring.demo7.eg4;

import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

/**
 * @author vhans
 */
@Component
@Lazy
public class Service1 {
    public Service1() {
        System.out.println("create service1");
    }
}
